package com.example.demo.service;

import com.example.demo.pojo.Competition;
import com.example.demo.pojo.StuCom;
import com.example.demo.pojo.vo.Count;
import com.github.pagehelper.PageInfo;

public interface StuComService {
    PageInfo<StuCom> listCom(String token, Competition competition);

    int addStuCom(StuCom stuCom);

    PageInfo<StuCom> listStudent(Integer id, String username);

    int upload(StuCom stuCom);

    int givePrize(Integer studentId, Integer competitionId);
}
